﻿using System;

namespace Ecobee.Net
{
	/// <summary>
	/// The "type" property of the function does not match an available function. Check your request parameters.
	/// </summary>
	public class InvalidFunction : ResponseCodeException
	{
		/// <summary>
		/// Initializes a new instance of the Ecobee.Net.InvalidFunction class.
		/// </summary>
		public InvalidFunction(Exception innerException)
			: base(8, innerException, "The 'type' property of the function does not match an available function. Check your request parameters.")
		{
		}
	}
}
